import Vue from 'vue'
import VueRouter from 'vue-router'
import Alogin from '../views/Alogin.vue'
<<<<<<< HEAD
<<<<<<< HEAD

=======
import Tregister from  '../views/Tregister.vue'
>>>>>>> ce0ea9be55e0294dbccbc345da3f3933d0bde3ae
=======
import Tlogin from '../views/Tlogin.vue'
>>>>>>> 8ca49b8cfe660b8c8c37ad39782b9916923bd370
// import AHome from '../views/Admin/AHome.vue'
// import THome from '../views/Teacher/THome.vue'
// import teacher from '../views/Admin/Alayout/teacher.vue'
// import student from '../views/Admin/Alayout/student.vue'
// import course from '../views/Admin/Alayout/course.vue'
// import classroom from '../views/Admin/Alayout/classroom.vue'

Vue.use(VueRouter)

  const routes = [
 
  {
    path: '/',
<<<<<<< HEAD
    name: 'Alogin',
    component: Alogin
  },
  {
    path: '/ghy',
    component: Tregister
  },
  {
    path: '/Tlogin',
=======
>>>>>>> 8ca49b8cfe660b8c8c37ad39782b9916923bd370
    name: 'Tlogin',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: Tlogin
    
  },
  {
    path: '/SSS',
    name: 'Alogin',
    component: Alogin,
  },
  // ,
  // {
  //   path: '/',
  //   name: 'AHome',
  //   component: AHome
  // },
  // {
  //   path: '/',
  //   name: 'THome',
  //   component: THome
  // }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
